package com.xxxx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 教职工返校申请
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_tback")
@ApiModel(value="Tback对象", description="教职工返校申请")
public class Tback implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @ApiModelProperty(value = "外键")
    private Integer TBid;

    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    @Excel(name = "姓名")
    private String name;

    @ApiModelProperty(value = "学院名称")
    @TableField(exist = false)
    @Excel(name = "学院名称")
    private String coname;

    @ApiModelProperty(value = "班级名称")
    @TableField(exist = false)
    @Excel(name = "班级名称")
    private String clname;

    @ApiModelProperty(value = "联系电话")
    @Excel(name="联系电话")
    private String tele;


    @ApiModelProperty(value = "地址")
    @Excel(name="地址")
    private String address;


    @ApiModelProperty(value = "风险等级")
    @Excel(name="风险等级")
    private Integer fengxian;


    @ApiModelProperty(value = "接种疫苗")
    @Excel(name="是否接种疫苗")
    private Integer yimiao;


    @ApiModelProperty(value = "是否完全打卡")
    @Excel(name="14天内是否全程打卡")
    private Integer daka;


    @ApiModelProperty(value = "是否出国")
    @Excel(name="14天内自己是否出国")
    private Integer goAside;


    @ApiModelProperty(value = "是否去过中高风险")
    @Excel(name="14天内自己是否去过中高风险地区")
    private Integer height;


    @ApiModelProperty(value = "是否在中高风险地区的低风险生活")
    @TableField("height_low")
    @Excel(name="14天内是否在中高风险地区的低风险生活")
    private Integer heightLow;


    @ApiModelProperty(value = "是否有阳性")
    @Excel(name="14天内地级市是否有阳性感染者")
    private Integer yangxing;


    @ApiModelProperty(value = "省外低风险")
    @Excel(name="14天内是否居住在省外低风险地区")
    private Integer waiLow;


    @ApiModelProperty(value = "是否密接")
    @Excel(name="自己或家人是否确诊为密接者")
    private Integer mijie;


    @ApiModelProperty(value = "是否确诊")
    @Excel(name="自己或家人是否确诊新冠")
    private Integer quezhen;


    @ApiModelProperty(value = "是否与中高风险地区人员接触")
    @Excel(name="自己或家人是否与高风险地区人员接触")
    private Integer jiechu;


    @ApiModelProperty(value = "家人有不适嘛")
    @Excel(name="家人是否感到不适")
    private Integer ffine;


    @ApiModelProperty(value = "家人是否出国")
    @Excel(name="家人是否出国")
    private Integer faside;

    @ApiModelProperty(value = "是否被隔离")
    @Excel(name="自己或家人是否被隔离")
    private Integer geli;


    @ApiModelProperty(value = "是否属于次密接者、密接着、同时空交集")
    @Excel(name="是否属于次密接者、密接着、同时空交集")
    private Integer renqun;


    @ApiModelProperty(value = "交通方式")
    @Excel(name="选择的交通方式")
    private String way;


    @ApiModelProperty(value = "是否核酸")
    @Excel(name="是否完成核酸检测")
    private Integer hesuan;


    @ApiModelProperty(value = "核酸结果")
    @Excel(name="核酸结果")
    private String hesuanJieguo;


    @ApiModelProperty(value = "到校时间")
    @Excel(name="到校时间",width=20,format = "yyyy-MM-dd")
    private LocalDateTime backTime;


    @ApiModelProperty(value = "备注")
    @Excel(name="备注")
    private String remark;


    @ApiModelProperty(value = "创建时间")
    @Excel(name="创建时间",width=20,format = "yyyy-MM-dd")
    private LocalDateTime creatTime;


    @ApiModelProperty(value = "修改时间")
    @Excel(name="修改时间",width=20,format = "yyyy-MM-dd")
    private LocalDateTime updateTime;


}
